sum of squares of the first n natural numbers